package com.yitao.cms.dto.operationUser;

import com.skipper.base.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.sql.Timestamp;
import java.util.Date;
import java.util.List;

@Data
public class OperationPermissionDto extends BaseDto {
    private Long id;
    @ApiModelProperty("菜单名")
    private String permissionName;
    private List<OperationPermissionDto> children;
    private String url;
    @ApiModelProperty("资源类型")
    private Integer resourceType;
    private String perms;
    private Long parentId;
    @ApiModelProperty("图标")
    private String iconCode;
    @ApiModelProperty("状态")
    private  Integer state;
    private String createBy;
    private Date createTime;
    private Date lastUpdateTime;
    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
    private String lastUpdateBy;
    private String path;

    /**
     *  是否删除(0:否 1:是)
     *  @mbggenerated
     */
    @ApiModelProperty("是否删除")
    private Integer isDelete;

    /**
     * 排序
     */
    @ApiModelProperty("排序")
    private Integer sort;

    /**
     * 菜单类型（0.父菜单；1.子菜单）
     */
    @ApiModelProperty("0.父菜单；1.子菜单")
    private Integer pathType;

}
